using System;
using System.Collections.Generic;
using System.Collections;
using System.Text;

namespace DailyReport.Core.Util
{
    public class ListUtil
    {
        public static List<T> ConvertToGenericList<T>(IList list)
        {
            List<T> result = new List<T>(list.Count);
            foreach (T item in list)
            {
                result.Add(item);
            }
            return result;
        }
    }
}
